﻿/*************************************************************************
 * Created by OhZee Creative, LLC
 * 2013
 * This code is licensed under Microsoft Public License (Ms-PL)
 * http://opensource.org/licenses/ms-pl
 * http://ozframework.codeplex.com/
 *************************************************************************/

namespace OhZeeCreative.WindowsPhone.Helpers
{
    using System;

    public static class AboutHelper
    {
        public static void EmailUs(string subject)
        {
            TasksHelper.Email("info@ohzeecreative.com", subject);
        }

        public static void OtherAppsByUs()
        {
            TasksHelper.SearchStore("OhZee Creative, LLC");
        }

        public static Uri GetWindowsAppWebPage(string appGuid)
        {
            // appGuid can be retrieved from the Dashboard's Detail page under the title "Link to ..."
            return new Uri("http://apps.microsoft.com/webpdp/app/" + appGuid);
        }

        public static Uri GetWindowsPhoneAppWebPage(string appGuid)
        {
            // Use this for Windows Phone
            return new Uri("http://www.windowsphone.com/s?appid=" + appGuid);
        }
    }
}
